<?php


namespace app\yunda\admin;

use app\admin\controller\Admin;
use app\common\builder\ZBuilder;
use think\Db;

class Base extends Admin{


    //设置菜单选项
    final public function szMenu(){
        $list_tab = [
            'base' => ['title' => '基本设置', 'url' => url('system/index', ['config_type' => 'base'])],
            'sign' => ['title' => '签到设置', 'url' => url('sign/index', ['config_type' => 'sign'])],
            'postage' => ['title' => '运费设置', 'url' => url('postage/index', ['config_type' => 'postage'])],
            'yongjin' => ['title' => '佣金设置', 'url' => url('yongjin/index', ['config_type' => 'yongjin'])],
            'member' => ['title' => '会员设置', 'url' => url('member/index', ['config_type' => 'member'])],
//            'ticket' => ['title' => '折扣券设置', 'url' => url('ticket/index', ['config_type' => 'ticket'])],
        ];
        return $list_tab;
    }

    //订单菜单选项
    final public function orderMenu(){
        $list_tab = [
            '1' => ['title' => '待确认', 'url' => url('order/index', ['type' => 1])],
            '2' => ['title' => '待取件', 'url' => url('order/index', ['type' => 2])],
            '3' => ['title' => '已取件', 'url' => url('order/index', ['type' => 3])],
            '4' => ['title' => '已派送', 'url' => url('order/index', ['type' => 4])],
            '5' => ['title' => '已取消', 'url' => url('order/index', ['type' => 5])],
//            '4' => ['title' => '待签收', 'url' => url('order/index', ['type' => 4])],
//            '5' => ['title' => '已签收', 'url' => url('order/index', ['type' => 5])],
        ];
        return $list_tab;
    }
}